//
//  MineUpImageDownText.m
//  News
//
//  Created by weige on 16/6/14.
//  Copyright © 2016年 weige. All rights reserved.
//

#import "MineUpImageDownText.h"

@implementation MineUpImageDownText
- (instancetype)initWithFrame:(CGRect)frame andTitle:(NSString *)title andImage:(NSString *)imageName
{
    self = [super initWithFrame:frame];
    if (self) {
        [self setTitle:title forState:UIControlStateNormal];
        [self setTitleColor:colorWithCustom(80, 80, 80) forState:UIControlStateNormal];
        [self setImage:[UIImage imageNamed:imageName] forState:UIControlStateNormal];
        self.userInteractionEnabled=NO;
        self.titleLabel.font=[UIFont systemFontOfSize:13];
        
    }
    return self;
}
@end
